﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace mvc_superchores.Models
{
    public class MockDb
    {
        public static List<Kitchen> GetKitchen()
        {
            var ListOfChores = new List<Kitchen>()
            {
                new Kitchen(){ Id = 1, Task = "Wash dishes", Person = "Julio", DateCreated = DateTime.Now.AddDays(-5), IsCompleted = false},
                new Kitchen(){ Id = 2, Task = "Clean Oven", Person = "Nabil", DateCreated = DateTime.Now.AddDays(-2), IsCompleted = true},
                new Kitchen(){ Id = 3, Task = "Mop floor", Person = "Anna", DateCreated = DateTime.Now.AddDays(-7), IsCompleted = false},
                new Kitchen(){ Id = 4, Task = "Dry dishes", Person = "Rick James", DateCreated = DateTime.Now.AddDays(-1), IsCompleted = false},
                new Kitchen(){ Id = 5, Task = "Organize spoons", Person = "Mike Tyson", DateCreated = DateTime.Now.AddDays(-3), IsCompleted = false}
            };
            return ListOfChores;
        }

        public static List<Bathroom> GetBathroom()
        {
            var ListOfChores = new List<Bathroom>()
            {
                new Bathroom(){ Id = 1, Task = "Clean", Type = "Sink", Person = "Julio", DateCreated = DateTime.Now.AddDays(-5), IsCompleted = false},
                new Bathroom(){ Id = 2, Task = "Clean", Type = "Mirror", Person = "Nabil", DateCreated = DateTime.Now.AddDays(-2), IsCompleted = true},
                new Bathroom(){ Id = 3, Task = "Mop", Type = "Floor", Person = "Anna", DateCreated = DateTime.Now.AddDays(-7), IsCompleted = false},
                new Bathroom(){ Id = 4, Task = "Clean", Type = "Toilet", Person = "Rick James", DateCreated = DateTime.Now.AddDays(-1), IsCompleted = false},
                new Bathroom(){ Id = 5, Task = "Organize", Type = "Cabinet", Person = "Mike Tyson", DateCreated = DateTime.Now.AddDays(-3), IsCompleted = false}
            };
            return ListOfChores;
        }
    }
}